package com.imut.service;

import com.imut.entity.User;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author jiangYaPeng
 * @Date 2025-06-11 15:48
 */
@Transactional
public interface UserService {
    User login(User user);

    User selectById(Long id);

    List<User> selectList(User user);

    Boolean insert(User user);

    Boolean update(User user);

    Boolean deleteById(Long id);

    Boolean register(User user);
}
